package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxHomeworkAnswer;
import com.siyuanren.gcocp.entity.WxHomeworkAnswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxHomeworkAnswerMapper {
    long countByExample(WxHomeworkAnswerExample example);

    int deleteByExample(WxHomeworkAnswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxHomeworkAnswer record);

    int insertSelective(WxHomeworkAnswer record);

    List<WxHomeworkAnswer> selectByExample(WxHomeworkAnswerExample example);

    WxHomeworkAnswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxHomeworkAnswer record, @Param("example") WxHomeworkAnswerExample example);

    int updateByExample(@Param("record") WxHomeworkAnswer record, @Param("example") WxHomeworkAnswerExample example);

    int updateByPrimaryKeySelective(WxHomeworkAnswer record);

    int updateByPrimaryKey(WxHomeworkAnswer record);
}